import { ref } from 'vue'
import { defineStore } from 'pinia'

const user = app.queryUser()

export const useNameIntroStore = defineStore('name_intro', () => {
  const name = ref(user.name || '')
  const intro = ref(user.intro || '')
  return { name, intro }
})
